<?php

namespace moonlight\sweet;

use yii\web\AssetBundle;

class SweetAlertAsset extends AssetBundle
{
    /**
     * @inheritdoc
     */
    public $css = [
        'dist/sweetalert.css',
    ];
    /**
     * @inheritdoc
     */
    public $js = [
        'dist/sweetalert.min.js'
    ];
    /**
     * @inheritdoc
     */
    public $depends = [
        'yii\bootstrap\BootstrapAsset'
    ];

    /**
     * @inheritdoc
     */
    public function init()
    {
        $this->sourcePath = dirname(__DIR__) . '/assets';

        parent::init();
    }
}
